package com.itchu.system.service;

import com.itchu.common.domain.PageResult;
import com.itchu.system.domain.Singer;
import com.itchu.system.domain.Song;

import java.util.List;

public interface SingerService {
    PageResult<Singer> findByPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);

    void addSinger(Singer singer);

    void deletSinger(Long id);

    void updateSinger(Singer singer);

    List<Song> findSongsBySingerId(Long id);

    List<Singer> findAll();

    List<Singer> searchSingersByName(String name);
}
